package com.yinlixian.frame.admin.vo;

import com.yinlixian.frame.admin.entity.SysResource;
import com.yinlixian.frame.admin.entity.SysRole;
import com.yinlixian.frame.admin.entity.SysUser;

import java.util.List;

/**
 * @Description:
 * @author: yudm
 * @date: 2017-04-24 15:21
 */
public class UserInfo extends SysUser {
    /**
     * 拥有的角色
     */
    private List<SysRole> sysRoles;

    /**
     * 拥有的所有资源
     */
    private List<SysResource> sysResources;

    public List<SysRole> getSysRoles() {
        return sysRoles;
    }

    public void setSysRoles(List<SysRole> sysRoles) {
        this.sysRoles = sysRoles;
    }

    public List<SysResource> getSysResources() {
        return sysResources;
    }

    public void setSysResources(List<SysResource> sysResources) {
        this.sysResources = sysResources;
    }
}
